package com.dearbinge.data.pojo.address;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户地址DO
 *
 * @author wes
 * @date 2019/2/14
 */
public class UserAddress implements Serializable {

    /**
     * id
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 收货人全名
     */
    @ApiModelProperty("收货人全名 必传")
    private String receiverName;

    /**
     * 固定电话
     */
    @ApiModelProperty("固定电话")
    private String receiverPhone;

    /**
     * 移动电话
     */
    @ApiModelProperty("移动电话 必传")
    private String receiverMobile;

    /**
     * 省份
     */
    @ApiModelProperty("省份")
    private String receiverState;

    /**
     * 城市
     */
    @ApiModelProperty("城市")
    private String receiverCity;

    /**
     * 区/县
     */
    @ApiModelProperty("区/县")
    private String receiverDistrict;

    /**
     * 街道
     */
    @ApiModelProperty("街道")
    private String receiverStreet;

    /**
     * 收货地址，如：xx路xx号
     */
    @ApiModelProperty("收货地址，如：xx路xx号 必传")
    private String receiverAddress;

    /**
     * 邮编
     */
    @ApiModelProperty("邮编")
    private String receiverZip;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id 必传")
    private String userId;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty( "修改时间")
    private Date modifyTime;

    /**
     * 创建人
     */
    @ApiModelProperty( "创建人")
    private String createBy;

    /**
     * 修改人
     */
    @ApiModelProperty( "修改人")
    private String modifyBy;

    /**
     * 是否删除（0：否  1：是）
     */
    @ApiModelProperty( "是否删除（0：否  1：是）")
    private Boolean isDeleted;

    /**
     * 是否默认（0：否  1：是）
     */
    @ApiModelProperty( "是否默认（0：否  1：是）")
    private boolean isDefault;

    public boolean getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(boolean aDefault) {
        isDefault = aDefault;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getReceiverName() {
        return receiverName;
    }

    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName == null ? null : receiverName.trim();
    }

    public String getReceiverPhone() {
        return receiverPhone;
    }

    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone == null ? null : receiverPhone.trim();
    }

    public String getReceiverMobile() {
        return receiverMobile;
    }

    public void setReceiverMobile(String receiverMobile) {
        this.receiverMobile = receiverMobile == null ? null : receiverMobile.trim();
    }

    public String getReceiverState() {
        return receiverState;
    }

    public void setReceiverState(String receiverState) {
        this.receiverState = receiverState == null ? null : receiverState.trim();
    }

    public String getReceiverCity() {
        return receiverCity;
    }

    public void setReceiverCity(String receiverCity) {
        this.receiverCity = receiverCity == null ? null : receiverCity.trim();
    }

    public String getReceiverDistrict() {
        return receiverDistrict;
    }

    public void setReceiverDistrict(String receiverDistrict) {
        this.receiverDistrict = receiverDistrict == null ? null : receiverDistrict.trim();
    }

    public String getReceiverStreet() {
        return receiverStreet;
    }

    public void setReceiverStreet(String receiverStreet) {
        this.receiverStreet = receiverStreet == null ? null : receiverStreet.trim();
    }

    public String getReceiverAddress() {
        return receiverAddress;
    }

    public void setReceiverAddress(String receiverAddress) {
        this.receiverAddress = receiverAddress == null ? null : receiverAddress.trim();
    }

    public String getReceiverZip() {
        return receiverZip;
    }

    public void setReceiverZip(String receiverZip) {
        this.receiverZip = receiverZip == null ? null : receiverZip.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy == null ? null : modifyBy.trim();
    }

    public Boolean getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }
}